package com.freewater.springboot.demo.contexthierarchy.demo1;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebConfig {

    @Bean
    public WebComponent webComponent() {
        return new WebComponent();
    }
}
